<%@page import="com.pethub.controller.web.items"%>
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib uri="http://www.rapid-framework.org.cn/rapid" prefix="rapid" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="mvc" %>
<%@ include file="nav.jsp"%>
<%@ include file="logo.jsp"%>
<%@ include file="item.jsp"%>
<%@ include file="footer.jsp" %>
<rapid:override name="contentContainer">
<div class="container">
	<div class="row" style="margin-top:50px;" id="itemDetails">
		<div class="col-lg-6 col-md-6 col-xs-12 float-left" >
			<%
				items item = (items )request.getAttribute("item");
				for(String row:item.getDetailImageURL()){
					%>
						<div class="col-lg-12 col-md-12 col-xs-12"  style="margin-bottom:20px;">
							<img src="<%=row %>" style="width:100%"/>
						</div>
					<%
				}
			%>
		</div>
		<div class="col-lg-6 col-md-6 col-xs-12">
			<div class="col-lg-12 col-md-12 col-xs-12 min-height">
				<h2><% out.println(item.getItemDescription()); %></h2>
			</div>
			<div class="col-lg-12 col-md-12 col-xs-12">
				<form role="form">
					<div class="form-group">
						<label>价格：</label>
						<select class="form-control" id="sortType" onchange="selectItem(this)">
						<%
							for(String type:item.getDetailItemType()){
								%>
									<option value="type"><%=type %></option>
								<%
							}
						%>
						</select>
					</div>
				</form>
			</div>
		</div>
	 </div>
 </div>

</rapid:override>
<%@ include file="base.jsp" %>
